package com.lcs.springcloud.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "stock-seata",path ="/stock" )
public interface StockOpenFeign {

    @RequestMapping("/reduct")
    String reduct(@RequestParam("product_id")String product_id);


}
